package com.mc.service.did.impl;

import com.mc.service.did.DidService;
import org.springframework.stereotype.Service;

@Service
public class DidServiceImpl implements DidService {

	
	@Override
	public long nextId(String bizTag) {
		return SegmentContainer.manages.computeIfAbsent(bizTag, SegmentManage::new).nextId();
	}
	
	
}
